package com.dk.service;

import com.dk.pojo.User;
import com.fasterxml.jackson.core.JsonProcessingException;

public interface UserService {

    boolean haveUser(String id);
    User getUser(String id) throws Exception;
    void saveUser(User user) throws JsonProcessingException;
    void updateUser(User user) throws JsonProcessingException;
    User updateStuId(String uid,String stuId) throws JsonProcessingException;

}
